home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 3 / Cream of the Crop 3.iso / comm / wnos5src.zip / EVENT.H < prev    next >
Text File  |  1993-08-09  |  865b  |  38 lines

  1. #ifndef _EVENT_H
  2. #define _EVENT_H
  3.  
  4. #ifndef _GLOBAL_H
  5. #include "global.h"
  6. #endif
  7. #ifndef _AX25_H
  8. #  include "ax25.h"
  9. #endif
  10.  
  11. typedef enum {
  12.    Wait,Suspended,Auto,Running,Autorun,Autowait,
  13.    Atoneshot,Atinterval
  14. } Dstate;
  15.  
  16. /*----------------------------------------------------------------------*
  17. * well, don't take those names as exact meanings, as a matter of fact   *
  18. * they are multipurpose entries                                         *
  19. *-----------------------------------------------------------------------*/
  20. typedef struct event   {
  21.    struct event *next;
  22.    Dstate state;
  23.    int minute;
  24.    int from;
  25.    int to;
  26.    int interval;
  27.    char *file;
  28.    int32 host;
  29.    int16 port;
  30. } Event;
  31.  
  32. int testdelv __ARGS((int32 dest));          /*  DK5DC  */
  33.  
  34. extern struct proc *Eproc;
  35. extern int EVwait, EMinute;
  36.  
  37. #endif _EVENT_H
  38.